from google.appengine.ext import db

class isActive(db.Model):
  rdnum = db.StringProperty()
  CreatorIp = db.StringProperty()
  PlayerIp = db.StringProperty()
  endtime = db.IntegerProperty(default=0)

  
class stoneDatastore(db.Model):
  rdnum = db.StringProperty()
  # flag ->0 : white 
  #       ->1 : black
  flag = db.StringProperty()
  x_y = db.StringProperty()
  endtime = db.IntegerProperty(default=0)
  time = db.DateTimeProperty(auto_now=True)